package top.haijunit.navi.auth.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import top.haijunit.framework.mybatis.domain.BasicEntity;

import java.io.Serializable;

/**
 * 权限枚举表
 */
@Data
@TableName(value ="access_permission")
public class PermissionEntity extends BasicEntity {

    /**
     * 唯一编码
     */
    @TableField(value = "uniqCode", fill = FieldFill.INSERT)
    private Long permissionId;

    /**
     * 权限分组编码
     */
    private Long groupCode;

    /**
     * 权限名称
     */
    private String permissionName;

    /**
     * 权限优先级
     */
    private Integer permissionLevel;

    /**
     * 权限描述信息
     */
    private String remarks;

}
